import request from '@/utils/request'

// 用户数量和商户数量
export function getplatformMCCount(params) {
    return request({
        url: `/waiting/center/platformMCCount`,
        method: 'get',
        params
    })
}

// 代办任务未处理条数
export function countByType(params) {
    return request({
        url: `/waiting/process/countByType`,
        method: 'get',
        params
    })
}

// 代办任务列表
export function getlist(params) {
    return request({
        url: `/waiting/process/list`,
        method: 'get',
        params
    })
}

// 商家发布资产排行
export function releaseAssetTopN(params) {
    return request({
        url: `/waiting/center/releaseAssetTopN`,
        method: 'get',
        params
    })
}

// 商家发布资产排行
export function customerHotTopN(params) {
    return request({
        url: `/waiting/center/customerHotTopN`,
        method: 'get',
        params
    })
}

// 商家活跃度排行
export function livenessServiceTopN(params) {
    return request({
        url: `/waiting/center/livenessServiceTopN`,
        method: 'get',
        params
    })
}


// 政府监管后台

//首页-入驻商家统计查询
export function merchantTotal() {
    return request({
        url: `/merchant/v1/total`,
        method: 'get'
    })
}

//首页-上链报备商家类型分布(柱状图)
export function screenMerchantList(params) {
    return request({
        url: `/large/screen/v1/merchantList`,
        method: 'get',
        params
    })
}